package com.xzy.source;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author xzy.xiao
 * @date 2023/3/15  10:23
 */
@Getter
public class RowEvent extends ApplicationEvent {
    private final Object data;

    public RowEvent(Object source, Object data) {
        super(source);
        this.data = data;
    }

    @Override
    public String toString() {
        return "From：" + source + " Data：" + data;
    }
}
